﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;

namespace Google.Translates.Core.Entries
{
    /*
     {
    "data": {
        "languages": [
            {
                "language": "zh-CN",
                "name": "中文(簡體)"
            },
            {
                "language": "fr",
                "name": "法文"
            },
            ...
            {
                "language": "en",
                "name": "英文"
            }
        ]
    }
}

     */
    [DataContract]
    public class LanguageResult
    {
        [DataMember(Name = "data")]
        public LanguageData Data { get; set; }
    }
}
